<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
	<form class="form-horizontal m" id="form-solutions-add">
			<div class="form-group">
			<label class="col-sm-3 control-label">题号：</label>
			<div class="col-sm-8">
				<input id="problemId" name="problemId" class="form-control" type="text">
			</div>
		</div>
	
			<div class="form-group">
			<label class="col-sm-3 control-label">用户名：</label>
			<div class="col-sm-8">
				<input id="uid" name="uid" class="form-control" type="text">
			</div>
		</div>
	
			<div class="form-group">
			<label class="col-sm-3 control-label">提交时间：</label>
			<div class="col-sm-8">
				<input id="submitDate" name="submitDate" class="form-control time-input" type="text">
			</div>
		</div>
	
			<div class="form-group">
			<label class="col-sm-3 control-label">评判时间：</label>
			<div class="col-sm-8">
				<input id="judgeDate" name="judgeDate" class="form-control time-input" type="text">
			</div>
		</div>
	
			<div class="form-group">
			<label class="col-sm-3 control-label">占用内存：</label>
			<div class="col-sm-8">
				<input id="memory" name="memory" class="form-control" type="text">
			</div>
		</div>
	
			<div class="form-group">
			<label class="col-sm-3 control-label">占用时间：</label>
			<div class="col-sm-8">
				<input id="time" name="time" class="form-control" type="text">
			</div>
		</div>
	
			<div class="form-group">
			<label class="col-sm-3 control-label">代码长度：</label>
			<div class="col-sm-8">
				<input id="codeLength" name="codeLength" class="form-control" type="text">
			</div>
		</div>
	
			<div class="form-group">
			<label class="col-sm-3 control-label">编程语言：</label>
			<div class="col-sm-8">
				<input id="language" name="language" class="form-control" type="text">
			</div>
		</div>
	
			<div class="form-group">
			<label class="col-sm-3 control-label">程序评判结果：</label>
			<div class="col-sm-8">
				<input id="verdict" name="verdict" class="form-control" type="text">
			</div>
		</div>
	
			<div class="form-group">
			<label class="col-sm-3 control-label">竞赛编号：</label>
			<div class="col-sm-8">
				<input id="contestId" name="contestId" class="form-control" type="text">
			</div>
		</div>
	
			<div class="form-group">
			<label class="col-sm-3 control-label">测试用例：</label>
			<div class="col-sm-8">
				<input id="testcase" name="testcase" class="form-control" type="text">
			</div>
		</div>
	
			<div class="form-group">
			<label class="col-sm-3 control-label">失败用例：</label>
			<div class="col-sm-8">
				<input id="failcase" name="failcase" class="form-control" type="text">
			</div>
		</div>
	
			<div class="form-group">
			<label class="col-sm-3 control-label">评阅结果：</label>
			<div class="col-sm-8">
				<input id="jsonResult" name="jsonResult" class="form-control" type="text">
			</div>
		</div>
	
			<div class="form-group">
			<label class="col-sm-3 control-label">题型代码：</label>
			<div class="col-sm-8">
				<input id="qtid" name="qtid" class="form-control" type="text">
			</div>
		</div>
	
			<div class="form-group">
			<label class="col-sm-3 control-label">完成次数：</label>
			<div class="col-sm-8">
				<input id="donum" name="donum" class="form-control" type="text">
			</div>
		</div>
	
			<div class="form-group">
			<label class="col-sm-3 control-label">考试编号：</label>
			<div class="col-sm-8">
				<input id="ksid" name="ksid" class="form-control" type="text">
			</div>
		</div>
	
			<div class="form-group">
			<label class="col-sm-3 control-label">本题得分：</label>
			<div class="col-sm-8">
				<input id="score" name="score" class="form-control" type="text">
			</div>
		</div>
	
	</form>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript">
	var prefix = ctx + "exam/solutions"
	$("#form-solutions-add").validate({
		onkeyup: false,
		rules:{
			xxxx:{
				required:true,
			},
		}
	});

	function submitHandler() {
		if ($.validate.form()) {
			$.operate.save(prefix + "/addDo", $('#form-solutions-add').serialize());
		}
	}
</script>
</body>
</html>
